package com.ruoyi.common.core.cg.pojo;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName order
 */

public class Order implements Serializable {
    /**
     * 订单
     */

    private Integer oid;
    /**
     * 商品昵称
     */
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * 订单编号
     */
    private String onumber;

    /**
     * 金额
     */
    private BigDecimal price;

    /**
     * 0正常/1失败
     */
    private Integer orderStatus;

    /**
     * 0已提货/1未提货
     */
    private Integer itemStatus;

    /**
     * 下单时间
     */
    private Date createTime;

    /**
     * 购买份数
     */
    private Integer itemCount;
    private String reservedName;
    private String reservedPhone;

    private String Name1;
    private String storeName1;
    private Integer userId;
    private String userName;
    /**
     * 是否付款 0:未付款 1:已付款
     */
    private Integer payment;

    public Leader getLeader() {
        return leader;
    }

    public void setLeader(Leader leader) {
        this.leader = leader;
    }

    public Group getGroup() {
        return group;
    }

    public void setGroup(Group group) {
        this.group = group;
    }

    private Leader leader;
    private Group group;

    public Integer getPayment() {
        return payment;
    }

    public void setPayment(Integer payment) {
        this.payment = payment;
    }

    private Integer groupId;
    private Integer communityId;

    public Integer getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Integer communityId) {
        this.communityId = communityId;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName1() {
        return Name1;
    }

    public void setName1(String name1) {
        Name1 = name1;
    }

    public String getStoreName1() {
        return storeName1;
    }

    public void setStoreName1(String storeName1) {
        this.storeName1 = storeName1;
    }

    public String getReservedName() {
        return reservedName;
    }

    public void setReservedName(String reservedName) {
        this.reservedName = reservedName;
    }

    public String getReservedPhone() {
        return reservedPhone;
    }

    public void setReservedPhone(String reservedPhone) {
        this.reservedPhone = reservedPhone;
    }

    /**
     * 订单
     */
    public Integer getOid() {
        return oid;
    }

    /**
     * 订单
     */
    public void setOid(Integer oid) {
        this.oid = oid;
    }

    /**
     * 订单编号
     */
    public String getOnumber() {
        return onumber;
    }

    /**
     * 订单编号
     */
    public void setOnumber(String onumber) {
        this.onumber = onumber;
    }

    /**
     * 金额
     */
    public BigDecimal getPrice() {
        return price;
    }

    /**
     * 金额
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 0正常/1失败
     */
    public Integer getOrderStatus() {
        return orderStatus;
    }

    /**
     * 0正常/1失败
     */
    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    /**
     * 0已提货/1未提货
     */
    public Integer getItemStatus() {
        return itemStatus;
    }

    /**
     * 0已提货/1未提货
     */
    public void setItemStatus(Integer itemStatus) {
        this.itemStatus = itemStatus;
    }

    /**
     * 下单时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 下单时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 购买份数
     */
    public Integer getItemCount() {
        return itemCount;
    }

    /**
     * 购买份数
     */
    public void setItemCount(Integer itemCount) {
        this.itemCount = itemCount;
    }



    @Override
    public String toString() {
        return "Order{" +
                "oid=" + oid +
                ", onumber='" + onumber + '\'' +
                ", price=" + price +
                ", orderStatus=" + orderStatus +
                ", itemStatus=" + itemStatus +
                ", createTime=" + createTime +
                ", itemCount=" + itemCount +
                ", name='" + name + '\'' +
                '}';
    }
}